package com.qulai.amazon_us.util.basic;

public class DynamicTableContext {

    private static final ThreadLocal<String> TABLE_NAME = new ThreadLocal<>();

    public static void setTableName(String tableName) {
        TABLE_NAME.set(tableName);
    }

    public static String getTableName() {
        return TABLE_NAME.get();
    }

    public static void clear() {
        TABLE_NAME.remove();
    }

}
